<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/Site.css" />
		<link rel="stylesheet" href="css/zy.all.css" />
		<link rel="stylesheet" href="css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/amazeui.min.css" />
		<link rel="stylesheet" href="css/admin.css" />
<!--		在标题栏的左侧显示图标 href:图标地址-->
		<link rel="icon" href="images/logo/favicon.ico" type="image/x-icon">
<!--		在收藏夹里面显示图标 href:图标地址-->
		<link rel="shortcut icon" href="images/logo/favicon.ico" type="image/x-icon">

	</head>

	<body>
		<div class="dvcontent">
			<div>
				<!--tab start-->
				<div class="tabs">
					<div class="hd">
						<ul>
							<li class="on" style="box-sizing: initial;-webkit-box-sizing: initial;">预警商品列表</li>
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1">
									<table class="table" id="tbRecord">
										<thead>
											<tr>
												<th>编号</th>
												<th>商品名称</th>
												<th>商品分类</th>
												<th>备注</th>
												<th>库存数量</th>
												<th>预警数量</th>
											</tr>
										</thead>
										<tbody>
											<tr th:each="warn:${pageUtils.data}">
												<td th:text="${warn.pid}"></td>
												<td th:text="${warn.ptitle}"></td>
												<td th:text="${warn.type.tname}"></td>
												<td th:text="${warn.premark}"></td>
												<td th:text="${warn.pcount}"></td>
												<td th:text="${warn.pwarn}"></td>
											</tr>
										</tbody>

									</table>
									<center>
										<a href="type_page?pageIndex=1">首页</a>
										<a th:if="${pageUtils.pageIndex>1}" th:href="|warn_page?pageIndex=${pageUtils.pageIndex-1}|">上一页</a>
										<a th:each="num:${pageUtils.numbers}" th:class="${pageUtils.pageIndex==num}? a" th:text="|${num} |"></a>

										<a th:if="${pageUtils.pageIndex<pageUtils.pageCount}" th:href="|warn_page?pageIndex=${pageUtils.pageIndex+1}|">下一页</a>
										<a th:href="|warn_page?pageIndex=${pageUtils.pageCount}|">尾页</a>
										[<span th:text="${pageUtils.pageIndex}"></span>/<span th:text="${pageUtils.pageCount}"></span>]
										共<span th:text="${pageUtils.totalCount}"></span>条
									</center>
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						</div>
					</div>
					<!--tab end-->

				</div>

				<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
				<script src="js/plugs/Jqueryplugs.js" type="text/javascript"></script>
				<script src="js/_layout.js"></script>
				<script src="js/plugs/jquery.SuperSlide.source.js"></script>
				<script>
					var num = 1;
					$(function() {

						$(".tabs").slide({ trigger: "click" });

					});
				</script>

			</div>
	</body>

</html>